package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AndMouldRecordDao;
import com.infoauto.opc.gateway.model.AndMouldRecord;
import com.infoauto.opc.gateway.service.AndMouldRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AndMouldRecordServiceImpl implements AndMouldRecordService {
    @Autowired
    private AndMouldRecordDao dao;


    @Override
    public int insert(AndMouldRecord andMouldRecord) {
        return dao.insert(andMouldRecord);
    }
    @Override
    public int update(AndMouldRecord andMouldRecord) {
        return dao.update(andMouldRecord);
    }
}
